package com.kx.user.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Random;

/**
 * @Author Sun
 * @Date 2021/7/19 21:14
 */
@Configuration
public class RandomConfig {
    @Bean
    public Random getRandom(){
        return new Random();
    }
}
